package com.tfswx.fljdmxyy.dto.sjgl;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 实体字段添加输入dto
 *
 * @Author 陈文佳
 * @Date 2023/03/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StzdAddInputDTO implements Serializable {

    @NotBlank(message = "stbh-不能为空")
    @ApiModelProperty(name = "stbh", value = "实体编号", required = true)
    private String stbh;

    @NotBlank(message = "zdmc-不能为空")
    @ApiModelProperty(name = "zdmc", value = "字段名称", required = true)
    private String zdmc;

    @ApiModelProperty(name = "xsmc", value = "显示名称")
    private String xsmc;

    @ApiModelProperty(name = "zdlx", value = "字段类型")
    private String zdlx;

    @ApiModelProperty(name = "xh", value = "序号")
    private Integer xh;

    @ApiModelProperty(name = "zdsjy", value = "字段数据源")
    private String zdsjy;
}